﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewsCrawler.Common.Models;
using NewsCrawler.Common.Models.ViewModels;

namespace NewsCrawler.Common.Interfaces
{
    public interface IRepository
    {
        IndexViewModel GetIndexViewModel();
        Category GetCategoryByName(string name);
        List<Article> GetNewsByCategoryId(string categoryId);
    }
}
